package ar.com.solidussource.framework.backend.dao.filter;

public class TableOrder {
	
	private String criterion;
	private String direction;
	
	public TableOrder(String criterion) {
		this(criterion, "asc");
	}
	
	public TableOrder(String criterion, String direction) {
		super();
		this.criterion = criterion;
		this.direction = direction;
	}
	
	public String getCriterion() {
		return criterion;
	}
	public void setCriterion(String criterion) {
		this.criterion = criterion;
	}

	public String getDirection() {
		return direction;
	}

	public void setDirection(String direction) {
		this.direction = direction;
	}
}
